package actions;

import model.Turtle;
import model.Angle;

/**
 * Represents the change in the location (or angle) of a turtle.
 * 
 * @author Alex
 */
public class MoveAction extends AbstractAction
{

    public final double oldX, oldY, newX, newY;
    public final Angle oldAngle, newAngle;

    public MoveAction(Turtle turtle, double oldX, double oldY, double newX,
            double newY, Angle oldAngle, Angle newAngle)
    {
        super(turtle);

        this.oldX = oldX;
        this.oldY = oldY;
        this.newX = newX;
        this.newY = newY;
        this.oldAngle = oldAngle;
        this.newAngle = newAngle;
    }

}
